/**
 * 
 */
package name.yzhu.wbdata.util;

import name.yzhu.cloud.hbase.YamlHBaseRowBase;
import name.yzhu.cloud.util.ImportYamlToHBase;
import name.yzhu.wbdata.io.WeiboYamlRow;

/**
 * @author yhzhu
 *
 */
public class ImportWBYamlToHBase extends ImportYamlToHBase {

	/* (non-Javadoc)
	 * @see name.yzhu.cloud.IDriver#getName()
	 */
	@Override
	public String getName() {
		return "importWBYamlToHBase";
	}

	/* (non-Javadoc)
	 * @see name.yzhu.cloud.IDriver#getDescription()
	 */
	@Override
	public String getDescription() {
		return "import weibo yaml to hbase";
	}

	/* (non-Javadoc)
	 * @see name.yzhu.cloud.tool.ImportYamlToHBase#getYamlHBaseRowFactory()
	 */
	@Override
	protected YamlHBaseRowBase getYamlHBaseRowFactory() {
		return new WeiboYamlRow();
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		new ImportWBYamlToHBase().doMain(args);
//		new ImportWBYamlToHBase().doMain(new String[]{"t_weibo", "e:/weibo.yaml"});
	}

}
